home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Prog / B-C / CTherm.cpt / About CThermometer next >
Encoding:
Text File  |  1990-09-03  |  1.2 KB  |  29 lines  |  [TEXT/MSWD]

  1. Captain Mac Enterprises
  2. 231 Charter Oak Circle
  3. Walnut Creek, CA
  4. 94596    9/1/90
  5.  
  6.  
  7. Key words:
  8. CThermometer,Thermometer,Status,Object,Class,OOP,OP,Pascal,TCL
  9.  
  10.  
  11. CThermometer implements a standard thermometer object which indicates progress of long processes. CThermometer currently has two subclasses:
  12. 1) CBarTherm displays a horizontal rectangle which fills by the percentage sent to it.
  13. 2) CPieTherm displays a circle which fills by the percentage sent to it.
  14. Three instance variables are set by the caller (you):
  15. 1) updateIncr: Integer; sets how often to update the thermometer by percent(1 - 100). Numbers that divide into 100 evenly look best.
  16. 2) thermPattern: Pattern; Pattern to fill thermometer with.
  17. 3) wantsTicks: Boolean; Add tick marks to thermometer? This is not recommended for pies.
  18. Other Features:
  19. 1) Checks for Command-period cancellations and informs you if the user tried to cancel.
  20. 2) Message displayed with thermometer can be changed at any time.
  21.  
  22.  
  23. Change CThermometer as much as you want but please don't distribute modified versions of CThermometer. Distribute CThermometer in its original form with all documentation.
  24.  
  25. Dan Rosman
  26. AOL: DanRosman
  27. GEnie: D.Rosman
  28. CIS: 76665,723
  29.